package org.luxor;

import org.luxor.commons.jdbc.config.MybatisPlusApplicationContextInitializer;
import org.luxor.commons.security.annotation.EnableOAuth2ResourceServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 启动类
 *
 * @author Mr.Yan  @date 2019/9/19
 */
@SpringBootApplication
@EnableOAuth2ResourceServer
public class EShopPaymentApplication {

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(EShopPaymentApplication.class);
        application.addInitializers(new MybatisPlusApplicationContextInitializer());
        application.run(args);
    }

}
